<?php

namespace backend\modules\Sys;

use Yii;

class Module extends \yii\base\Module {

    public $controllerNamespace = 'backend\modules\Sys\controllers';

    public function init() {
        parent::init();
        $this->modules = [
            'config' => ['class' => 'backend\modules\Sys\modules\Config\Module'],
            'common-resource' => ['class' => 'backend\modules\Sys\modules\CommonResource\Module'],
            'be-menu' => [
                'class' => 'backend\modules\Sys\modules\BeMenu\Module',
            ],
            'security' => [
                'class' => 'backend\modules\Sys\modules\Security\Module',
            ],
            'rbac' => [
                'class' => 'backend\modules\Sys\modules\Rbac\Module',
            ],
        ];
        // custom initialization code goes here
    }

}
